/*
 * @Author: zhangweinan
 * @Date: 2022-12-09 18:23:05
 * @LastEditors: zhangweinan
 * @LastEditTime: 2022-12-09 18:26:10
 * @Description: file content
 * @FilePath: \front-end-of-task-center\src\api\system\organ.js
 */
import request from '@/utils/request'
//获取当前区域信息
export function getOrganById(organId) {
  return request({
    url: `system/organ/getById/${organId}`,
    method: 'post'
  })
}
//获取下级区域信息
export function getOrganChildren(organId) {
  return request({
    url: `system/organ/getChildren/${organId}`,
    method: 'post'
  })
}